.class public Lcom/estrongs/io/archive/sevenzip/d;
.super Les/e80;
.source "SevenZipInArchive.java"


# instance fields
.field k:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/io/archive/sevenzip/a$c;",
            ">;"
        }
    .end annotation
.end field

.field private l:Z

.field private m:Ljava/lang/String;

.field private n:Lcom/estrongs/io/archive/sevenzip/a$b;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p2}, Les/e80;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    new-instance p2, Lcom/estrongs/io/archive/sevenzip/a$b;

    iget-object v0, p0, Les/e80;->e:Ljava/lang/String;

    new-instance v1, Lcom/estrongs/io/archive/sevenzip/d$a;

    invoke-direct {v1, p0}, Lcom/estrongs/io/archive/sevenzip/d$a;-><init>(Lcom/estrongs/io/archive/sevenzip/d;)V

    invoke-direct {p2, p1, v0, v1}, Lcom/estrongs/io/archive/sevenzip/a$b;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/io/archive/sevenzip/a$d;)V

    iput-object p2, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    .line 3
    invoke-virtual {p2}, Lcom/estrongs/io/archive/sevenzip/a$b;->d()Z

    move-result p1

    iput-boolean p1, p0, Les/e80;->i:Z

    .line 4
    iget-object p1, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    invoke-virtual {p1}, Lcom/estrongs/io/archive/sevenzip/a$b;->e()Z

    move-result p1

    iput-boolean p1, p0, Lcom/estrongs/io/archive/sevenzip/d;->l:Z

    return-void
.end method

.method static synthetic a(Lcom/estrongs/io/archive/sevenzip/d;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/io/archive/sevenzip/d;->l:Z

    return p0
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 41
    invoke-super {p0}, Les/e80;->a()V

    .line 42
    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    if-eqz v0, :cond_0

    .line 43
    invoke-virtual {v0}, Lcom/estrongs/io/archive/sevenzip/a;->a()V

    :cond_0
    return-void
.end method

.method public a(Les/k80;)V
    .locals 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 2
    :try_start_0
    iget-boolean v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->l:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 3
    invoke-interface {p1}, Les/k80;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-nez v0, :cond_0

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->b()V

    return-void

    .line 5
    :cond_0
    :try_start_1
    new-instance v0, Les/d80;

    invoke-direct {v0}, Les/d80;-><init>()V

    .line 6
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->j()V

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->e()Ljava/util/Iterator;

    move-result-object v1

    .line 8
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 9
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/io/model/ArchiveEntryFile;

    .line 10
    invoke-virtual {v0, v2}, Les/d80;->a(Ljava/io/File;)V

    goto :goto_0

    .line 11
    :cond_1
    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Les/e80;->d:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Les/d80;->c()J

    move-result-wide v2

    invoke-virtual {v0}, Les/d80;->a()I

    move-result v4

    invoke-virtual {v0}, Les/d80;->b()I

    move-result v0

    add-int/2addr v4, v0

    invoke-interface {p1, v1, v2, v3, v4}, Les/l80;->a(Ljava/lang/String;JI)V

    .line 12
    new-instance v0, Lcom/estrongs/io/archive/sevenzip/a$b;

    iget-object v1, p0, Les/e80;->d:Ljava/lang/String;

    iget-object v2, p0, Les/e80;->e:Ljava/lang/String;

    new-instance v3, Lcom/estrongs/io/archive/sevenzip/d$b;

    invoke-direct {v3, p0, p1}, Lcom/estrongs/io/archive/sevenzip/d$b;-><init>(Lcom/estrongs/io/archive/sevenzip/d;Les/k80;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/estrongs/io/archive/sevenzip/a$b;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/io/archive/sevenzip/a$d;)V

    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    .line 13
    invoke-interface {p1}, Les/k80;->d()Ljava/lang/String;

    move-result-object p1

    iget-object v1, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/io/archive/sevenzip/a$b;->a(Ljava/lang/String;Ljava/lang/String;)Z
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 14
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->b()V

    return-void

    :catchall_0
    move-exception p1

    goto :goto_1

    :catch_0
    move-exception p1

    .line 15
    :try_start_2
    invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/FexApplication;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f1106cd

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x0

    .line 16
    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    .line 17
    :cond_2
    throw p1
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 18
    :goto_1
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->b()V

    .line 19
    goto :goto_3

    :goto_2
    throw p1

    :goto_3
    goto :goto_2
.end method

.method public a(Ljava/util/List;Les/k80;)V
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Les/k80;",
            ")V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 20
    iget-boolean v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->l:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 21
    invoke-interface {p2}, Les/k80;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    if-nez v0, :cond_0

    return-void

    :cond_0
    const-wide/16 v0, 0x0

    .line 22
    iput-wide v0, p0, Les/e80;->a:J

    .line 23
    new-instance v0, Les/d80;

    invoke-direct {v0}, Les/d80;-><init>()V

    .line 24
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    if-nez p1, :cond_1

    .line 25
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 26
    :cond_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    if-nez v2, :cond_2

    const-string v2, "/"

    .line 27
    invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 28
    :cond_2
    :try_start_0
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 29
    iget-object v4, p0, Les/e80;->g:Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/io/model/ArchiveEntryFile;

    .line 30
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 31
    invoke-virtual {v0, v3}, Les/d80;->a(Ljava/io/File;)V

    goto :goto_0

    .line 32
    :cond_3
    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Les/e80;->d:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Les/d80;->c()J

    move-result-wide v2

    invoke-virtual {v0}, Les/d80;->a()I

    move-result v4

    invoke-virtual {v0}, Les/d80;->b()I

    move-result v0

    add-int/2addr v4, v0

    invoke-interface {p2, v1, v2, v3, v4}, Les/l80;->a(Ljava/lang/String;JI)V

    .line 33
    new-instance v0, Lcom/estrongs/io/archive/sevenzip/a$b;

    iget-object v1, p0, Les/e80;->d:Ljava/lang/String;

    iget-object v2, p0, Les/e80;->e:Ljava/lang/String;

    new-instance v3, Lcom/estrongs/io/archive/sevenzip/d$d;

    invoke-direct {v3, p0, p2}, Lcom/estrongs/io/archive/sevenzip/d$d;-><init>(Lcom/estrongs/io/archive/sevenzip/d;Les/k80;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/estrongs/io/archive/sevenzip/a$b;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/io/archive/sevenzip/a$d;)V

    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    .line 34
    invoke-interface {p2}, Les/k80;->d()Ljava/lang/String;

    move-result-object p2

    iget-object v1, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    invoke-virtual {v0, p2, p1, v1}, Lcom/estrongs/io/archive/sevenzip/a$b;->a(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 35
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->b()V

    return-void

    :catchall_0
    move-exception p1

    goto :goto_1

    :catch_0
    move-exception p1

    .line 36
    :try_start_1
    invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_4

    invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object p2

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/FexApplication;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f1106cd

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p2

    if-eqz p2, :cond_4

    const/4 p2, 0x0

    .line 37
    iput-object p2, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    .line 38
    :cond_4
    throw p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 39
    :goto_1
    invoke-virtual {p0}, Lcom/estrongs/io/archive/sevenzip/d;->b()V

    .line 40
    goto :goto_3

    :goto_2
    throw p1

    :goto_3
    goto :goto_2
.end method

.method public a(Ljava/lang/String;)Z
    .locals 1

    .line 44
    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->n:Lcom/estrongs/io/archive/sevenzip/a$b;

    invoke-virtual {v0, p1}, Lcom/estrongs/io/archive/sevenzip/a$b;->b(Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method public b()V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->k:Ljava/util/List;

    return-void
.end method

.method public b(Lcom/estrongs/io/model/ArchiveEntryFile;Les/k80;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 3
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object p1

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4
    invoke-virtual {p0, v0, p2}, Lcom/estrongs/io/archive/sevenzip/d;->a(Ljava/util/List;Les/k80;)V

    return-void
.end method

.method public c(Lcom/estrongs/io/model/ArchiveEntryFile;Les/k80;)Ljava/io/File;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 1
    invoke-interface {p2}, Les/k80;->d()Ljava/lang/String;

    move-result-object v0

    .line 2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4
    invoke-virtual {p0, v1, p2}, Lcom/estrongs/io/archive/sevenzip/d;->a(Ljava/util/List;Les/k80;)V

    .line 5
    iget-boolean p2, p0, Lcom/estrongs/io/archive/sevenzip/d;->l:Z

    if-eqz p2, :cond_0

    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    if-nez p2, :cond_0

    const/4 p1, 0x0

    return-object p1

    .line 6
    :cond_0
    new-instance p2, Ljava/io/File;

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    return-object p2
.end method

.method public d(Ljava/lang/String;)Ljava/io/InputStream;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method protected e()Ljava/util/Iterator;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Iterator<",
            "Lcom/estrongs/io/model/ArchiveEntryFile;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->k:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .line 2
    new-instance v1, Lcom/estrongs/io/archive/sevenzip/d$e;

    invoke-direct {v1, p0, v0}, Lcom/estrongs/io/archive/sevenzip/d$e;-><init>(Lcom/estrongs/io/archive/sevenzip/d;Ljava/util/Iterator;)V

    return-object v1
.end method

.method public e(Ljava/lang/String;)V
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    return-void
.end method

.method public i()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->k:Ljava/util/List;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public j()V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/estrongs/io/archive/sevenzip/a$b;

    iget-object v1, p0, Les/e80;->d:Ljava/lang/String;

    iget-object v2, p0, Les/e80;->e:Ljava/lang/String;

    new-instance v3, Lcom/estrongs/io/archive/sevenzip/d$c;

    invoke-direct {v3, p0}, Lcom/estrongs/io/archive/sevenzip/d$c;-><init>(Lcom/estrongs/io/archive/sevenzip/d;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/estrongs/io/archive/sevenzip/a$b;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/io/archive/sevenzip/a$d;)V

    .line 2
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/io/archive/sevenzip/d;->m:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/estrongs/io/archive/sevenzip/a$b;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/io/archive/sevenzip/d;->k:Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-void

    :catch_0
    move-exception v0

    .line 3
    new-instance v1, Ljava/io/IOException;

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1
.end method
